﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/Default/Views/Shared/Store.Master" Inherits="System.Web.Mvc.ViewPage<Fashion.Models.SearchCriteria>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Advance Search
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="container">
        <table id="searchBox" cellspacing="0" width="100%">
            <tr><td colspan="2"><strong>Advance Search Criteria</strong></td></tr>
            <tr>
	            <td class="title">Product Name</td>
	            <td><asp:TextBox ID="product" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
	            <td class="title">Product Brand</td>
	            <td>
                    <%=Html.DropDownList("brand", new SelectList(Model.Brands, "BrandName"))%>
                </td>
            </tr>
            <tr>
	            <td class="title">Category</td>
	            <td>
                    <%=Html.DropDownList("category", new SelectList(Model.Categories, "Name"))%>
                </td>
            </tr>
            <tr>
	            <td class="title">Product Price</td>
	            <td><asp:TextBox ID="price" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
	            <td class="title">Product Rating</td>
	            <td><asp:TextBox ID="rating" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
	            <td class="title">From</td>
                <td><asp:TextBox ID="startDate" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="title">To</td>
                <td><asp:TextBox ID="endDate" runat="server"></asp:TextBox></td>
            </tr>
        </table>
        <div>
            <button type="reset" class="button">Clear All &raquo;</button>
            <button type="submit" name="search" class="button">Search &raquo;</button>
        </div>
    </div>
</asp:Content>
